package com.example.airobotpositions.dao;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 职位分页查询结果
 */
@Data
@ApiModel(value = "职位分页查询结果")
public class PositionPageResultDto {

    @ApiModelProperty(value = "总记录数")
    private Long total;

    @ApiModelProperty(value = "当前页码")
    private Integer pageNum;

    @ApiModelProperty(value = "每页记录数")
    private Integer pageSize;

    @ApiModelProperty(value = "总页数")
    private Integer pages;

    @ApiModelProperty(value = "职位列表")
    private List<PositionResultDto> records;
} 